﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FileToVideo.Project
{
    /// <summary>
    /// 转换异常
    /// </summary>
    public class ConvertException : Exception
    {
        /// <summary>
        /// 错误消息
        /// </summary>
        private string message;

        /// <summary>
        /// 错误消息
        /// </summary>
        public new string Message
        {
            get
            {
                return message;
            }
        }

        public ConvertException(string message)
        {
            this.message = "转换模块异常:\n" + message;
        }

        public ConvertException():this("转换模块未知异常!")
        {
            
        }
    }
}
